//
//  HSYGetPasswordRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/6.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYGetPasswordRequest.h"

@implementation HSYGetPasswordRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_GETPASSWORD;
}

- (NSDictionary *)requestData{
    NSAssert(self.cellphone.length > 0, @"手机号不能为空");
    NSAssert(self.password.length > 0, @"密码不能为空");
    NSAssert(self.code.length > 0, @"验证码不能为空");
    
    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"cellphone"] = self.cellphone;
    params[@"password"] = self.password;
    params[@"code"] = self.code;
    
    return params;
}

@end
